﻿@using LynxWiki.DomainModel;
@using LynxWiki;

<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8" />
        <title>@ViewBag.Title - LynxWiki</title>
        <link rel="canonical" href="@Request.Url.ToString()" />
        <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
        <meta name="viewport" content="width=device-width" />
        @Styles.Render("~/Content/css")
        @Scripts.Render("~/bundles/modernizr")
    </head>
    <body>
        <header>
            <div class="content-wrapper">
                <div class="float-left">
                    <img src="~/Images/120px-Canadian_Lynx_side_head.png" alt="Lynx side head" class="imgLynx" /><p class="site-title">  @Html.ActionLink("LynxWiki", "Index", "Home", null, new { @class = "logo" })</p>
                    <div id="applicationDtl">@ViewBag.Application</div>
                </div>
                <div class="float-right">
                    <section id="login">
                        @Html.Partial("_LoginPartial")
                    </section>
                    <nav>
                        <ul id="menu">
                            <li>@Html.ActionLink("Home", "Index", "Home")</li>
                            <li>@Html.ActionLink("About", "About", "Home")</li>
                            <li>@Html.ActionLink("Privacy", "Privacy", "Home")</li>
                            <li>@Html.ActionLink("Terms", "Terms", "Home")</li>
                            <li>@Html.ActionLink("Contact", "Contact", "Home")</li>
                        </ul>
                    </nav>
                </div>
            </div>
        </header>
        <div id="body">
            <div class="float-left">
                <section id="wikilinks">
                    @Html.Partial("_WikiLinks")
                </section>
                <section id="tagCloud">
                    @Html.Partial("_TagCloud", (TagCloud)ViewBag.TagCloud)
                </section>                                      
                <section id="googleAd">
                    @Html.Partial("GoogleAdHigh")
                </section>                                
             </div>
            @RenderSection("featured", required: false)
            <section class="content-wrapper main-content clear-fix">
                @RenderBody()
            </section>
        </div>
        <footer>
            <div class="content-wrapper">
                <div class="float-left">
                    <p>&copy; @DateTime.Now.Year - <a href="mailto:jwdavidson@gmail.com" >John W Davidson</a></p>
                    <p>@Html.ActionLink("Privacy", "Privacy", "Home") | @Html.ActionLink("Terms", "Terms", "Home")</p>

        @*        <section id="googleAdBottom">
                    @Html.Partial("GoogleAdBottom")
                </section>                                 *@                           
                </div>
            </div>
        </footer>

        @RenderSection("scripts", required: false)
        @Scripts.Render("~/bundles/TopicTip")
    </body>
</html>
